#ifndef		__THREADUNIX_HPP__
#define		__THREADUNIX_HPP__


#ifndef	_WIN32
#include <pthread.h>
typedef pthread_t myThread;

class					ThreadUnix
{
public:
  static bool			create(myThread *var,			\
				       void *(*pt2Func)(void *),	\
				       void *param);
  static void			teminate(myThread *var);
  static void			waitSingle(myThread *var);
  static void			waitMultiple(myThread *var, int nb);
  static void			exit();
};


#endif /* !_WIN32 */


#endif		/* __THREADUNIX_HPP__ */
